package com.sunjq.fetchdata.activity;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.TextView;

import com.sunjq.fetchdata.R;

public class WaiShiChuDetaiDataActivity extends Activity {

	
	private TextView titleView;
	private WebView webView;
	
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.http_content);
		
		titleView = (TextView) findViewById(R.id.http_title);
		String title = getIntent().getStringExtra("title");
		titleView.setText(title);
		
		webView = (WebView) findViewById(R.id.webView);
		String url = getIntent().getStringExtra("url");
		webView.loadUrl(url);
	}
}
